package com.sunda.spmsoversea.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 海外装箱单明细表
 * </p>
 *
 * @author Wayne
 * @since 2021-10-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("OVERSEA_PACKAGE_LIST_DTL")
@ApiModel(value="OverseaPackageListDtl对象", description="海外装箱单明细表")
public class OverseaPackageListDtl implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "装箱单明细自增ID")
    @TableId(value = "AUTO_ID_PACKAGE_LIST", type = IdType.AUTO)
    private Integer autoIdPackageList;

    @ApiModelProperty(value = "装箱单号")
    @TableField("SAP_PACKAGE_LIST")
    private String sapPackageList;

    @ApiModelProperty(value = "装箱单行号")
    @TableField("SAP_PACKAGE_LIST_ITEM")
    private String sapPackageListItem;

    @ApiModelProperty(value = "交货单号")
    @TableField("SAP_DELIVERY_NOTE")
    private String sapDeliveryNote;

    @ApiModelProperty(value = "公司间采购订单号")
    @TableField("PURCHASE_NO")
    private String purchaseNo;

    @ApiModelProperty(value = "公司间采购订单行项目")
    @TableField("PURCHASE_NO_ITEM")
    private String purchaseNoItem;

    @ApiModelProperty(value = "数据状态(默认0能被SAP更新数据；1禁止更新数据；)")
    @TableField("DATA_STATUS")
    private String dataStatus;

    @ApiModelProperty(value = "创建时间")
    @TableField("CREATE_TIME")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField("UPDATE_TIME")
    private Date updateTime;


}
